package com.aegean.onlinebook.service.dao;

import java.util.List;

import com.aegean.onlinebook.model.BigType;
import com.aegean.onlinebook.model.ServiceValue;
import com.aegean.onlinebook.model.SmallType;

public interface ServiceDao {
	public void insertService(ServiceValue service);

	public boolean searchService(ServiceValue service);

	public int searchBigTypeCount();

	public List<BigType> searchPartBigTypes(int start, int limit);
	public int searchSmallTypeCount(String bigName);
	
	public List<SmallType> searchPartSmallTypes(String bigName,int start, int limit);

	public boolean searchBigType(String name);
	public boolean searchSmallType(String name);

	public boolean addBigType(BigType one);
	public boolean addSmallType(SmallType one,int bigType_Id);

	public boolean editBigType(BigType one);
	public boolean editSmallType(SmallType one);

	public boolean deleteBigType(String[] big_Name);
}
